home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 2004 #9
/
Amiga Plus CD - 2004 - No. 09.iso
/
amigaplus
/
tools
/
amigaos4_only
/
ifxlite
/
imagefx3
/
rexx
/
autofx
/
load_region.ifx.pre
< prev
next >
Wrap
Text File
|
2004-08-03
|
574b
|
31 lines
/*
* Load_Region.ifx.pre
* Written by Thomas Krehbiel
*
* Load a region mask.
*
* Inputs:
* Word(Arg(1),1) = Sequence number
* Word(Arg(1),2) = Total number of frames (N)
*
* Returns:
* 0 if successful, non-zero on failure
*
*/
OPTIONS RESULTS
base = 'Autofx_LoadRegion_'
reqdir = GETCLIP(base||'Path')
reqfile = GETCLIP(base||'File')
RequestFile '"Select Region Mask:"' '"'reqdir'"' '"'reqfile'"'
IF rc ~= 0 THEN EXIT rc
CALL SETCLIP(base||'Name', result)
CALL SETCLIP(base||'Path', filereq.path)
CALL SETCLIP(base||'File', filereq.file)
EXIT